package com.wuseguang.springcloud.entity;

import java.io.Serializable;


import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import java.io.Serializable;

/**
 * <p>
 * 教师订阅表
 * </p>
 *
 * @author 
 * @since 2020-05-26
 */
@Entity
@Data
public class TeacherSubscription  {

    private static final long serialVersionUID = 1L;

    /**
     * 教师订阅课表id
     */
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	private Integer id;
    /**
     * 教师id
     */
	private Integer teacherId;
    /**
     * 学校id
     */
	private Integer schoolId;
    /**
     * 订阅类型(timetable:课表)
     */
	private String type;
    /**
     * 0未订阅/取消订阅，1已订阅
     */
	private Integer state;

}
